package com.ludomancy.starwave;

import java.awt.Point;

public class DefenderShip extends Ship
{

	public DefenderShip(Player owner, int px, int py)
	{
		super(owner, px, py);
		type = DEF;
	}
	
	protected Point[] getFiringArc()
	{
		return new Point[] 
		{
			new Point(owner.direction,-1),
			new Point(owner.direction,1)
		};
	}

	protected boolean canMove()
	{
		return false;
	}

	public String getDescription()
	{
		return "Defender does not move, but can attack two ships at once";
	}
}
